import request from '@/utils/request'

// 获取视频列表
export function materialVideoList(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialVideoProvider/1.0.0/listMaterialVideos.html',
    method: 'post',
    data: query
  })
}
// 删除视频列表
export function materialVideoListDelete(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialVideoProvider/1.0.0/deleteMaterialVideoById.html',
    method: 'post',
    data: query
  })
}
// 添加视频
export function materialVideoListAdd(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialVideoProvider/1.0.0/saveMaterialVideo.html',
    method: 'post',
    data: query
  })
}
// 获取视频详情
export function materialVideoListDetails(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialVideoProvider/1.0.0/getMaterialVideoById.html',
    method: 'post',
    data: query
  })
}
// 编辑视频
export function materialVideoListEdit(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialVideoProvider/1.0.0/updateMaterialVideo.html',
    method: 'post',
    data: query
  })
}
